package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TSubjectInfo;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TSubjectInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TSubjectInfo record);

    int insertSelective(TSubjectInfo record);

    TSubjectInfo selectByPrimaryKey(Integer id);
    
    TSubjectInfo selectByOpenId(String openId);
    
    int updateByPrimaryKeySelective(TSubjectInfo record);

    int updateByPrimaryKey(TSubjectInfo record);
    
    public List<TSubjectInfo> searchByPage(Map<String,Object> searchParams);
    
    public List<TSubjectInfo> findAll();
}